package com.max.eshop.comporators;

import java.util.Comparator;

import com.max.eshop.core.Reqest;

public class SortedReqestsByAlphabet implements Comparator<Reqest> {

	@Override
	public int compare(Reqest arg0, Reqest arg1) {
		return arg0.getNameBook().compareTo(arg1.getNameBook());
	}

}
